Project 2
1
|
#include <Usable.h>
Public Member Functions | |
ConvolutionOpSse (const Matrix< double > &kernel) | |
constructur, yeah | |
double | operator() (const Matrix< double > &neighbourhood) const |
function as is More... | |
Public Attributes | |
uint | radius = 0 |
size of kernel | |
uint & | vert_radius = radius |
fix for use inary_map | |
uint & | hor_radius = radius |
Functor to be used in unary_map tp implement custom filter
double ConvolutionOpSse::operator() | ( | const Matrix< double > & | neighbourhood | ) | const |
function as is
Прокаченная версия оператора свертки.
Note: работает только с матрицами 3*3
neighbourhood | матрица-сосед, с элементами которой мы перемножаем |